[NTG-context] Re: \placeinitial problem

2023-07-19 Thread Hans Hagen
On 7/19/2023 8:32 PM, Alan Bowen wrote: The latest version fixes the \placeinitial issue. it's kind of tricky because a nested paragraph (as in footnotes) can reset the state so we need to take precautions for that without harming performance Hans

[NTG-context] Re: \placeinitial problem

2023-07-19 Thread Alan Bowen
Hans— The latest version fixes the \placeinitial issue. Many thanks! Alan On Sun, Jul 16, 2023 at 5:09 PM Alan Bowen wrote: > Hi— > \placeinitial seems to fail when there is a footnote in the paragraph. At > least > > \startparagraph > \placeinitial \input ward \f

[NTG-context] \placeinitial problem

2023-07-16 Thread Alan Bowen
Hi— \placeinitial seems to fail when there is a footnote in the paragraph. At least \startparagraph \placeinitial \input ward \footnote{A footnote.} \stopparagraph only works when the footnote is commented out. I am running lmtx [ConTeXt ver: 2023.06.22 LMTX fmt: 2023.6.26] Alan

Re: [NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年5月17日周三 06:42写道: > I did a simple thing, replace a \framed by \framedtext to get > \placeinitial working but that doesn't seem to work automatically: > > %== > \starttext > \setupinitial[n=2,text=Knuth]\placei

[NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread Gerben Wierda via ntg-context
I did a simple thing, replace a \framed by \framedtext to get \placeinitial working but that doesn't seem to work automatically: %== \starttext \setupinitial[n=2,text=Knuth]\placeinitial\input knuth \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial

[NTG-context] \placeinitial inside \framed?

2023-05-15 Thread Gerben Wierda via ntg-context
I'd like to use a drop cap inside a \framed, but it doesn't work. Minimal example: %== \starttext \setupinitial[n=2,text=Knuth]\placeinitial\input knuth \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input knuth } \stoptext

Re: [NTG-context] lmtx \placeinitial with nonzero par indent?

2022-07-11 Thread Michael Urban via ntg-context
Never mind. Apparently lmtx changed the default for \setupindenting from 'next' to 'first'? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] lmtx \placeinitial with nonzero par indent?

2022-07-11 Thread Michael Urban via ntg-context
The following produces different results in mkiv and lmtx (to which I am brand new): \setupinitial[distance=1pt,font=Serif at 36pt,n=2] \setupindenting[medium,yes] \starttext \placeinitial \input knuth \stoptext The mkiv output is the desired effect. It works fine in lmtx if I do

Re: [NTG-context] \placeinitial to account for quotation mark

2021-09-26 Thread Hans Hagen via ntg-context
On 9/25/2021 10:45 PM, Thangalin via ntg-context wrote: Henri Menke provided a partial solution: \defineinitial[two][method={first,auto}] \setuphead[chapter][   after={\placeinitial[two]},   page=no, ] \starttext \chapter{Harriet Tubman} "Every great dream begins with a dreamer. A

Re: [NTG-context] \placeinitial to account for quotation mark

2021-09-26 Thread Bruce Horrocks via ntg-context
> On 25 Sep 2021, at 21:45, Thangalin via ntg-context > wrote: > > Henri Menke provided a partial solution: > > \defineinitial[two][method={first,auto}] > \setuphead[chapter][ > after={\placeinitial[two]}, > page=no, > ] > > \starttext > \chapt

Re: [NTG-context] \placeinitial to account for quotation mark

2021-09-25 Thread Thangalin via ntg-context
Henri Menke provided a partial solution: \defineinitial[two][method={first,auto}] \setuphead[chapter][ after={\placeinitial[two]}, page=no, ] \starttext \chapter{Harriet Tubman} "Every great dream begins with a dreamer. Always remember, you have within you the strength, the pat

[NTG-context] \placeinitial to account for quotation mark

2021-09-06 Thread Thangalin via ntg-context
Hi list, The following example shows a lettrine that stylizes a quotation mark: \setuphead[chapter][ after={\placeinitial}, page=no, ] \starttext\chapter{Harriet Tubman} "Every great dream begins with a dreamer. Always remember, you have within you the strength, the patience, and the pa

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Eduardo Bohoyo
You are welcome. Obviously, it's a dirty trick. For example, it falls down if we have a non-white background on our page. Hopefully LMTX won't take long to update. Eduardo Bohoyo El 26/5/21 a las 0:01, jbf escribió: Thanks Eduardo. Hans had seen the problem and the latest upgrade solves it.

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread jbf
Thanks Eduardo. Hans had seen the problem and the latest upgrade solves it. But I'll keep your little trick in mind! Julian On 25/5/21 9:35 pm, Eduardo Bohoyo wrote: I have just seen that I also experience the same problem. I didn't realise it. I have provisionally "solved" it with an unfancy

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Eduardo Bohoyo
I have just seen that I also experience the same problem. I didn't realise it. I have provisionally "solved" it with an unfancy workaround. For instance, in your case it could be something like this: \definecolor[dropcapitals][t=0.40,a=1] This is not ideal. I know. But for the moment I can't

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Hans Hagen
=darkgray,font=adellesemibold at 46pt,distance=3pt,n=3] \starttext \placeinitial{M}{\sc aking sense of the world} at any time is a fraught exercise... \stoptext fixed in next upload - Hans

[NTG-context] lmtx and defined placeinitial color

2021-05-24 Thread jbf
,distance=3pt,n=3] \starttext \placeinitial{M}{\sc aking sense of the world} at any time is a fraught exercise... \stoptext Julian ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
Ah, I got it. Thanks for the clarification, Hans. It's clear that this makes sense. Eduardo Bohoyo El 24/5/21 a las 14:22, Hans Hagen escribió: On 5/24/2021 12:41 PM, Eduardo Bohoyo wrote: Thank you, Hans. This tweak works perfectly on a provisional basis. However, from my relative

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
. I speak from the lack of knowledge of a user who wants to learn a little more. Eduardo Bohoyo El 23/5/21 a las 13:07, Hans Hagen escribió: On 5/23/2021 2:41 AM, Eduardo Bohoyo wrote: My question will be very simple: Is there a trick to make \placeinitial command work within makeup pages

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Hans Hagen
On 5/24/2021 12:41 PM, Eduardo Bohoyo wrote: Thank you, Hans. This tweak works perfectly on a provisional basis. However, from my relative ignorance of ConTeXt and LMTX, I have a question: Why is it better at the moment to include this code in cont-new.mkxl instead on the preamble of my

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
On 5/23/2021 2:41 AM, Eduardo Bohoyo wrote: My question will be very simple: Is there a trick to make \placeinitial command work within makeup pages? One of my pages inside the /frontmater/ is a quote page within an special layout. Before using LMTX, when I could use the Lettrine module

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
My question will be very simple: Is there a trick to make \placeinitial command work within makeup pages? One of my pages inside the /frontmater/ is a quote page within an special layout. Before using LMTX, when I could use the Lettrine module, that quote started with a capital letter

Re: [NTG-context] \placeinitial not working

2015-11-03 Thread Alan Bowen
Just updated my installation. Many thanks, Mojca. Alan On Tue, Nov 3, 2015 at 2:32 AM, Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On Mon, Nov 2, 2015 at 10:19 PM, Alan Bowen wrote: > > Hi, Pablo— > > > > I reinstalled Context Suite/Standalone for Mac OSX and see that it comes >

Re: [NTG-context] \placeinitial not working

2015-11-02 Thread Mojca Miklavec
On Mon, Nov 2, 2015 at 10:19 PM, Alan Bowen wrote: > Hi, Pablo— > > I reinstalled Context Suite/Standalone for Mac OSX and see that it comes > with luatex beta 0.80. LuaTeX is now at 0.81 for all the platforms except for Solaris and armhf-linux. Mojca

Re: [NTG-context] \placeinitial not working

2015-11-02 Thread Alan Bowen
from the ConTeXt Suite (aka ConTeXt > Standalone). > > Just in case it might help, > > Pablo > > > > > On Sun, Nov 1, 2015 at 9:18 AM, Hans Hagen wrote: > > > > On 10/31/2015 2:26 PM, Alan Bowen wrote: > > > > \plac

Re: [NTG-context] \placeinitial not working

2015-11-02 Thread Hans Hagen
10/31/2015 2:26 PM, Alan Bowen wrote: \placeinitial used to work but now does not with the latest beta. Try the example from http://wiki.contextgarden.net/Initials. \setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3] \starttext \placein

Re: [NTG-context] \placeinitial not working

2015-11-01 Thread Alan Bowen
Thanks, Hans. Will the next beta standalone from the Pragma site come with luatex0.81 or is this a separate download? Alan On Sun, Nov 1, 2015 at 9:18 AM, Hans Hagen <pra...@wxs.nl> wrote: > On 10/31/2015 2:26 PM, Alan Bowen wrote: > >> \placeinitial used to

Re: [NTG-context] \placeinitial not working

2015-11-01 Thread Pablo Rodriguez
21:28) from the ConTeXt Suite (aka ConTeXt Standalone). Just in case it might help, Pablo > > On Sun, Nov 1, 2015 at 9:18 AM, Hans Hagen wrote: > > On 10/31/2015 2:26 PM, Alan Bowen wrote: > > \placeinitial used to work but now does not with the latest beta. > &g

Re: [NTG-context] \placeinitial not working

2015-11-01 Thread Hans Hagen
On 10/31/2015 2:26 PM, Alan Bowen wrote: \placeinitial used to work but now does not with the latest beta. Try the example from http://wiki.contextgarden.net/Initials. \setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3] \starttext \placeinitial \input knuth \stoptext

[NTG-context] \placeinitial not working

2015-10-31 Thread Alan Bowen
\placeinitial used to work but now does not with the latest beta. Try the example from http://wiki.contextgarden.net/Initials. \setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3] \starttext \placeinitial \input knuth \stoptext Alan

Re: [NTG-context] \placeinitial trickery?

2014-06-22 Thread Hans Hagen
] \starttext \placeinitial[Greek]Ⲥελήνη {\red Coptic capital sima}\quad\input ward \placeinitial[Greek]Ἡλίου {\red Greek capital eta with dasia (combining)}\quad\input ward \placeinitial[Greek]Ⲏ̔λίου {\red Coptic capital hate with dasia (combining)}\quad\input ward \placeinitial[Greek]῾Ⲏλίου {\red

Re: [NTG-context] \placeinitial trickery?

2014-06-22 Thread Alan Bowen
Unicode] \defineinitial [Greek] [location=margin, font={DropFont sa 3}, n=2, color=black, distance=-1em, hoffset=1.25em] \starttext \placeinitial[Greek]Ⲥελήνη {\red Coptic capital sima}\quad\input ward \placeinitial[Greek]Ἡλίου {\red Greek capital eta with dasia (combining)}\quad\input

[NTG-context] \placeinitial trickery?

2014-06-21 Thread Alan Bowen
the problem and, incidentally, why non-combining marks are needed. (I would attach the .pdf file if I knew the list’s protocol for attachments.) The question is: Is there a way to get \placeinitial to take the first two characters of the opening word? In the example below, I need case 4 to work so

Re: [NTG-context] \placeinitial query

2014-05-07 Thread Hans Hagen
, distance=-1em, hoffset=1.25em] \starttext \placeinitial[Greek]Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου \blank \placeinitial[Greek]Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί

Re: [NTG-context] \placeinitial query

2014-05-07 Thread Alan Bowen
Gyre Termes][] \setupbodyfont[mainface,10pt] \defineinitial[Greek] [location=margin, font={Regular sa 3}, n=2, distance=-1em, hoffset=1.25em] \starttext \placeinitial[Greek]Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του

[NTG-context] \placeinitial query

2014-05-06 Thread Alan Bowen
\placeinitial[Greek]Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου Διὰ τί του ἡλίου \blank \placeinitial[Greek]Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου Ⲇιὰ τί του ἡλίου

Re: [NTG-context] \placeinitial after a heading

2014-01-25 Thread Hans Hagen
to the \parindent. For example: \setupinitial[font=Bold sa 4,n=3] \setupindenting[yes,1em] \starttext \section{Knuth} \placeinitial \input knuth \stoptext I suppose this is not the intended behavior :) The problem doesn't occur if I enable indenting also for the first paragraph after the heading

[NTG-context] \placeinitial after a heading

2014-01-24 Thread Alexey Kryukov
[font=Bold sa 4,n=3] \setupindenting[yes,1em] \starttext \section{Knuth} \placeinitial \input knuth \stoptext I suppose this is not the intended behavior :) The problem doesn't occur if I enable indenting also for the first paragraph after the heading, but in this case, of course, the drop cap

[NTG-context] placeinitial broken (mkiv)?

2013-01-22 Thread Andreas Mang
, state, n, command \starttext \placeinitial \input knuth \stoptext minimal ConTeXt ver: 2013.01.13 23:10 MKIV fmt: 2013.1.17 Is there a problem or am I doing something wrong?! Thanks in advance for your help. Cheers Andreas

Re: [NTG-context] placeinitial broken (mkiv)?

2013-01-22 Thread Wolfgang Schuster
=Bold sa 4,distance=3pt,state=start,n=3] % known parameters: font, distance, state, n, command \starttext \placeinitial \input knuth \stoptext minimal ConTeXt ver: 2013.01.13 23:10 MKIV fmt: 2013.1.17 Is there a problem or am I doing something wrong?! What doesn’t work, do

Re: [NTG-context] placeinitial broken (mkiv)?

2013-01-22 Thread Andreas Mang
; with reference to [NTG-context] Lettrine not Working as Expected) does not work for me: minimal \setupinitial[color=red,font=Bold sa 4,distance=3pt,state=start,n=3] % known parameters: font, distance, state, n, command \starttext \placeinitial \input knuth \stoptext minimal

[NTG-context] \placeinitial or texbackground bug (interference)

2012-03-18 Thread Alan Braslau
It took me quite a while to hunt this down... The use of a text background breaks \placeinitial. I do not have a patch, but at least can provide a minimal example: \definetextbackground [SetOff] [location=paragraph] \starttext \placeinitial \input tufte \startSetOff \input ward \stopSetOff

[NTG-context] \placeinitial and indenting

2012-03-16 Thread Alan Braslau
\placeinitial does not play well with indenting. % Minimal example: \setupindenting [big,yes] \starttext \placeinitial %\noindent \input tufte \input ward \stoptext % Of course, uncommenting the \noindent is an aesthetic solution. 1. Should \noindent be included by default in \placeinitial 2